#include "mainwindow.h"
#include <QApplication>
#include <qtsingleapplication.h>

int main(int argc, char *argv[])
{
    QtSingleApplication a(argc, argv);
    if(a.isRunning()) {
        return 0;
    }
    MainWindow w;
    w.show();
    return a.exec();
}
